package com.example.productservice.mapper;

import com.example.productservice.model.ProductInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface ProductMapper {
    @Select("select * from product_detail where id = #{id}")
    public ProductInfo selectProductById(@Param("id") Integer id);
}
